package com.zjlp.seproject.pojo;

public class SubjectDetails {
    private int id;
    private int classid;
    private String name;
    private int uid;
    private String date;
    private String description;
    private String url;
    private int star;
    private int click;
    private int adopt;
    private String username;
    private String classname;
    private String avatar;
    private String profile;

    public SubjectDetails(Subject subject) {
        this.id = subject.getId();
        this.classid = subject.getClassid();
        this.name = subject.getName();
        this.uid = subject.getUid();
        this.date = subject.getDate();
        this.description = subject.getDescription();
        this.url = subject.getUrl();
        this.star = subject.getStar();
        this.click = subject.getClick();
        this.adopt = subject.getAdopt();
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public int getClick() {
        return click;
    }

    public void setClick(int click) {
        this.click = click;
    }

    public int getAdopt() {
        return adopt;
    }

    public void setAdopt(int adopt) {
        this.adopt = adopt;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }
}
